package com.ruoyi.business.domain;

import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 审批记录对象 t_audit_log
 *
 * @author Tellsea
 * @date 2024-01-26
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class TAuditLog extends BaseEntity {

    /**
     * 主键
     */
    private Long id;

    /**
     * 审批类型 1-报名审批 2-结业审批
     */
    @Excel(name = "审批类型 1-报名 2-结业")
    private Long type;

    /**
     * 报名信息ID
     */
    @Excel(name = "报名信息ID")
    private Long registerId;

    /**
     * 审批人用户ID
     */
    @Excel(name = "审批人用户ID")
    private Long auditUserId;

    /**
     * 审批等级
     */
    @Excel(name = "审批等级")
    private Long auditLevel;

    /**
     * 审批状态 1-同意 2-退回 3-拒绝
     */
    @Excel(name = "审批状态 1-同意 2-退回 3-拒绝")
    private Long auditStatus;

    /**
     * 审批意见
     */
    @Excel(name = "审批意见")
    private String remark;

    /**
     * 是否删除 1-是 2-否
     */
    @TableField(fill = FieldFill.INSERT)
    private Long deleteStatus;

}
